gusucode.com > VC++视频目标检测演示帧间差分法-源码程序 > VC++视频目标检测演示帧间差分法-源码程序/code/Video Demo/MotionDetectDiag.cpp
// MotionDetectDiag.cpp : implementation file //Download by http://www.NewXing.com #include "stdafx.h" #include "Video Demo.h" #include "MotionDetectDiag.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // MotionDetectDiag dialog MotionDetectDiag::MotionDetectDiag(CWnd* pParent /*=NULL*/) : CDialog(MotionDetectDiag::IDD, pParent) { //{{AFX_DATA_INIT(MotionDetectDiag) m_index = 200; //}}AFX_DATA_INIT } void MotionDetectDiag::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(MotionDetectDiag) DDX_Text(pDX, IDC_EDIT1, m_index); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(MotionDetectDiag, CDialog) //{{AFX_MSG_MAP(MotionDetectDiag) ON_EN_CHANGE(IDC_EDIT1, OnChangeEdit1) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // MotionDetectDiag message handlers void MotionDetectDiag::OnChangeEdit1() { // TODO: If this is a RICHEDIT control, the control will not // send this notification unless you override the CDialog::OnInitDialog() // function and call CRichEditCtrl().SetEventMask() // with the ENM_CHANGE flag ORed into the mask. // TODO: Add your control notification handler code here }